package cn.com.lyb.job.dao;

import cn.com.lyb.core.mapper.MyBaseMapper;
import cn.com.lyb.job.entity.JobInstanceDO;
import cn.com.lyb.job.entity.vo.JobInstanceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 任务实例表 Mapper 接口
 * </p>
 *
 * @author lvyuanbo
 * @since 2024-07-11
 */
@Mapper
public interface JobInstanceDao extends MyBaseMapper<JobInstanceDO> {

    List<JobInstanceVO> selectPageByStatus(@Param("status") String status,
                                           @Param("jobId") Long jobId,
                                           @Param("workflowInstanceId") Long workflowInstanceId);
}
